public class Main {
    public static void main(String[] args) {
        ArrayList arrayList = new ArrayList();
        arrayList.add(1);
        arrayList.add(2);
        arrayList.add(3);
        arrayList.disPlay();

        arrayList.delFirst(1);
        arrayList.disPlay();
    }
}
